home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue.arc / TVWEOF.C < prev    next >
C/C++ Source or Header  |  1990-01-09  |  1KB  |  30 lines

  1. /*================================================*/
  2. /* TVWEOF.C                                       */
  3. /*                                                */
  4. /* (c) Copyright 1988 Ralf Brown                  */
  5. /*     All Rights Reserved                        */
  6. /* May be freely copied for noncommercial use as  */
  7. /* long as this copyright notice is kept intact   */
  8. /* and any changes are indicated in the comment   */
  9. /* blocks for the functions                       */
  10. /*================================================*/
  11.  
  12. #include "tvapi.h"
  13.  
  14. /*================================================*/
  15. /* TVwin_eof  check whether logical cursor beyond */
  16. /*            end of window                       */
  17. /*   Ralf Brown 4/3/88                            */
  18. /*================================================*/
  19.  
  20. int pascal TVwin_eof(OBJECT win)
  21. {
  22.    PARMLIST1 p ;
  23.  
  24.    p.num_args = 0 ;
  25.    TVsendmsg(EOF_MSG, win?TOS:ME, win, (PARMLIST *)&p) ;
  26.    return (int) p.arg[0] ;
  27. }
  28.  
  29. /* End of TVWEOF */
  30.